/**
 * 
 */
package com.manthano.scope.bo;

import java.util.HashMap;
import java.util.Map;

/**
 * @author DELL
 */
public abstract class StatefulScopeEntity extends UserScopeEntity
{
	private static final long	serialVersionUID	= -196954648463736508L;
	private int					status				= -1;
	private String				statusComments		= null;
	private boolean				archive				= false;
	private boolean				error				= false;
	private Map<String, String>	errorReasons		= new HashMap<String, String>();

	/**
	 * @return the status
	 */
	public int getStatus()
	{
		return status;
	}

	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(int status)
	{
		this.status = status;
	}

	/**
	 * @return the statusComments
	 */
	public String getStatusComments()
	{
		return statusComments;
	}

	/**
	 * @param statusComments
	 *            the statusComments to set
	 */
	public void setStatusComments(String statusComments)
	{
		this.statusComments = statusComments;
	}

	/**
	 * @return the archive
	 */
	public boolean isArchive()
	{
		return archive;
	}

	/**
	 * @param archive
	 *            the archive to set
	 */
	public void setArchive(boolean archive)
	{
		this.archive = archive;
	}

	/**
	 * @return the error
	 */
	public boolean isError()
	{
		return error;
	}

	/**
	 * @param error
	 *            the error to set
	 */
	public void setError(boolean error)
	{
		this.error = error;
	}

	/**
	 * @return the errorReasons
	 */
	public Map<String, String> getErrorReasons()
	{
		return errorReasons;
	}

	/**
	 * @param errorReasons
	 *            the errorReasons to set
	 */
	public void setErrorReasons(Map<String, String> errorReasons)
	{
		this.errorReasons = errorReasons;
	}
}
